function Son(props) {
  console.log(props); // children: Array(2)
  return (
    <>
      {props.children} {props.children[0]}
    </>
  );
}

function App() {
  return (
    <>
      <Son>
        <span>this is span</span>
        <div>this is div</div>
      </Son>
    </>
  );
}

export default App;
